package com.example.springboot_app.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author svblack
 * @since 2024-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("users")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer user_id;

    @TableField("nickname")
    private String nickname;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("avatar")
    private String avatar;

    @TableField("gender")
    private String gender;

    @TableField("height")
    private Integer height;

    @TableField("weight")
    private Integer weight;

    @TableField("birthday")
    private LocalDate birthday;

    @TableField("location")
    private String location;

    @TableField("signature")
    private String signature;

    @TableField("role_id")
    private Integer role_id;


}
